package com.zgjkhis.modules.charges.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zgjkhis.annotation.Query;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author yxl 处方单分页查询检索条件
 * @Description
 * @Date 2021/7/13 16:15
 **/
@Data
@NoArgsConstructor
public class InvoiceQueryCriteria {


    @Query
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @Query
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @ApiModelProperty(value = "药房id")
    private String pharmacyId;

    @Query
    @ApiModelProperty(value = "开票人")
    private String username;

}
